﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

/// <summary>
/// Summary description for Bill
/// </summary>
public class Bill
{
    private int billId;
    private int policyId;
    private float cost;
    private string note;
    private DateTime dateOfCreate;
    private bool isPaid;

    public int BillId
    {
        get { return billId; }
        set { billId = value; }
    }
    

    public int PolicyId
    {
        get { return policyId; }
        set { policyId = value; }
    }    

    public float Cost
    {
        get { return cost; }
        set { cost = value; }
    }    

    public string Note
    {
        get { return note; }
        set { note = value; }
    }

    public DateTime DateOfCreate
    {
        get { return dateOfCreate; }
        set { dateOfCreate = value; }
    }

    public bool IsPaid
    {
        get { return isPaid; }
        set { isPaid = value; }
    }

    public Bill()
    {

    }

    public Bill(int billId, int policyId, float cost, string note, DateTime dateOfCreate, bool isPaid)
	{
        this.billId = billId;
        this.policyId = policyId;
        this.cost = cost;
        this.note = note;
        this.dateOfCreate = dateOfCreate;
        this.isPaid = isPaid;
	}
}
